﻿using System;
using System.Collections.Generic;

namespace PandaWebAPI.Models.ef;

/// <summary>
/// 订单
/// </summary>
public partial class Order
{
    public Guid OrderId { get; set; }

    public Guid UserId { get; set; }

    public DateTime? OrderDate { get; set; }

    public decimal TotalAmount { get; set; }

    public byte? Status { get; set; }

    public string ShippingAddress { get; set; } = null!;

    public string? PaymentMethod { get; set; }

    public string? TransactionId { get; set; }

    public virtual ICollection<OrderItem> OrderItems { get; set; } = new List<OrderItem>();

    public virtual User User { get; set; } = null!;
}
